#include <stdio.h>

int main(void)
{
    int num;

    scanf("%d", &num);

    int r_num = (num % 10) * 100 + (num / 10 % 10) * 10 + num / 100;

    if (num == r_num)
        printf("yes\n");
    else
        printf("no\n");

    return 0;
}
